package com.dzu.gulimall.auth.feign;

import com.dzu.gulimall.auth.vo.MessagePhoneVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author by ZhaoDong
 * @Classname ThirdPartFeignService
 * @Description 第三方远程调用接口
 * @Date 2021/6/25 19:24
 */
@FeignClient("gulimall-third-party")
public interface ThirdPartFeignService {


    // TODO 阿里云验证码发送接口
    @PostMapping("/sms")
    void sendCode(@RequestBody MessagePhoneVo vo);
}
